package com.tiza.xiaoyoubao.ui.fragment;

import android.widget.TextView;

import com.tianze.library.base.BaseFragment;
import com.tianze.library.utils.AppUtils;
import com.tiza.xiaoyoubao.R;

import butterknife.BindView;

/**
 * Created by mapple on 17/3/5.
 * 版本信息
 */

public class VerisonFragment extends BaseFragment {
@BindView(R.id.tv_version)
    TextView tv_version;
    @Override
    protected int getLayoutId() {
        return R.layout.fragment_version;
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initView() {
        tv_version.setText("当前版本号："+ AppUtils.getVersionName(mActivity));
    }
}
